{% extends "user/user_base.html" %}

{%block breadcrum%}
{{block.super}}
&gt注册
{%endblock%}

{% block user_content %}

{% if message %}

    {%ifequal message "password diff"%}
        <div class="error_msg span-6 last" >
        <h3>两次输入的密码不相同,请检查!</h3>
        </div>
        <hr/>
    {%endifequal%}

    {%ifequal message "user exists"%}
        <div class="error_msg span-6 last">
        <h3>Sorry,该用户名已经被注册,请换其他!</h3>
        </div>
        <hr/>
    {%endifequal%}
{%endif%}

<form name="mainform" method="post" enctype="multipart/form-data">

      <div class="form">
        <h4>要在本站注册，您需要提供少量信息，带星号（*）项目为必填项。</h4>
        <table width="100%" class="table">
          <tr>
            <td class="left">帐号* </td>
            <td class="right"><input type="text" name="username" value="" maxlength="12" style="width:200px;">英文或数字3~12位</td>
          </tr>
          
          <tr>

            <td class="left">密码* </td>
            <td class="right"><input type="password" name="password" value="" maxlength="12" style="width:200px;"> 英文或数字3~12位（MD5加密后保存，保证密码安全）</td>
          </tr>
          
          <tr>
            <td class="left">密码确认* </td>
            <td class="right"><input type="password" name="password_conf" value="" maxlength="12" style="width:200px;"> 请重新输入密码，英文或数字3~12位</td>
          </tr>
          
          <tr>
            <td class="left">Email* </td>
            <td class="right"><input type="text" name="email" value="" maxlength="40" style="width:300px;"> 用来确认您的身份，绝不公开您的Email</td>
          </tr>
        </table>
        <div class="button">
          <input type="submit" name="submit_btn" value="注 册">
        </div>
      </div>
    </div>

  </form>

{%endblock%}


